home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / il / ilView.z / ilView
Encoding:
Text File  |  2002-10-03  |  73.2 KB  |  1,518 lines

  1.  
  2.  
  3.  
  4. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      iiiillllVVVViiiieeeewwww - displays an image within an ilDisplay
  10.  
  11.  
  12. IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
  13.      ilLink
  14.  
  15.  
  16. HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
  17.      #include <il/ilView.h>
  18.  
  19.  
  20. CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      iiiillllVVVViiiieeeewwww displays an image within a rectangular area in an X window that is
  22.      managed by iiiillllDDDDiiiissssppppllllaaaayyyy. It has several attributes including position, size
  23.      and image position. The position and size control where the image is
  24.      displayed within the window and how much of the image to display. The
  25.      image position controls what part of the image is displayed. In addition,
  26.      each view has a border which is drawn inside the view. By default, the
  27.      border is turned off. However, functions on ilView are defined to turn
  28.      the borders on as well as to set the border color and width. By default,
  29.      the border is red and is 2 pixels wide.  An ilView is created by calling
  30.      aaaaddddddddVVVViiiieeeewwww() on iiiillllDDDDiiiissssppppllllaaaayyyy. ilView is intended to be used with ilDisplay. See
  31.      ilDisplay man page.
  32.  
  33.      IIIInnnnppppuuuutttt IIIImmmmaaaaggggeeeessss
  34.  
  35.      An ilView object can be created from any ilImage. The proper data type,
  36.      coordinate space and color conversions will be performed automatically.
  37.      In addition, an ilView can be created from an XImage.  The XImage is
  38.      converted to an ilImage using ilXImage. For multi-frame images (z > 1),
  39.      the z-plane to be displayed can be set. If there is no input image, the
  40.      background color is displayed. By default, the background color is black,
  41.      but may be set using setBackground().
  42.  
  43.      DDDDiiiissssppppllllaaaayyyy OOOOppppeeeerrrraaaattttoooorrrrssss
  44.  
  45.      A variety of display operators are provided to change the view position,
  46.      view size and image position. These display operators call the
  47.      corresponding method on ilDisplay, passing a pointer to itself.
  48.      Therefore, only the view the operator is called on is affected.
  49.  
  50.      The _m_o_d_e parameter passed to display operators, is comprised of one or
  51.      more bit fields. It is passed as an iiiinnnntttt value to allow the bit fields to
  52.      be combined using a bitwise OR. These bit fields are defined as
  53.      enumerated values in iiiillll////iiiillllDDDDiiiissssppppllllaaaayyyyDDDDeeeeffffssss....hhhh. There are several types of modes
  54.      defined, including: ilDefer to defer painting, ilClip to prevent moving
  55.      beyond the edge of the image, ilNoSwap to prevent swapping back/front
  56.      buffers, and operator-specific flags such as ilRightEdge for the wipe
  57.      operator and coordinate interpretation.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  71.  
  72.  
  73.  
  74.      The _x, _y coordinates passed to a display operator can be interpreted as
  75.      absolute values, change from current view configuration, or as relative
  76.      to the values initialized by sssseeeettttSSSSttttaaaarrrrtttt(((()))).  Coordinate interpretation is
  77.      specified by the following flags in _m_o_d_e:
  78.           _i_l_R_e_l_V_a_l    Interpreted relative to the starting _x_y position
  79.                       established with sssseeeettttSSSSttttaaaarrrrtttt(). The difference between the
  80.                       specified _x_y parameters and the starting _x_y location is
  81.                       used. The starting _x_y location is then updated. Useful
  82.                       for interactive manipulation.
  83.  
  84.           _i_l_O_l_d_R_e_l    Same as _i_l_R_e_l_V_a_l except that the starting _x,_y location
  85.                       is not updated. This is useful when doing several
  86.                       operations based on the same _x,_y coordinates.
  87.  
  88.           _i_l_D_e_l_V_a_l    Interpreted as changes (delta) to the current view
  89.                       configuration.
  90.  
  91.           _i_l_A_b_s_V_a_l    Interpreted as absolute values relative to the ilDisplay
  92.                       origin (upper-left).
  93.  
  94.  
  95. CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
  96.      CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
  97.  
  98.           ilView(ilDisplay* disply, ilImage* img, int mode = 0)
  99.           ilView(ilDisplay* disply)
  100.           ilView(ilDisplay* disply, XImage* img, int mode = 0)
  101.  
  102.      AAAAcccccccceeeessssssssiiiinnnngggg vvvviiiieeeewwww aaaattttttttrrrriiiibbbbuuuutttteeeessss
  103.  
  104.           ilDisplay* getDisplay()
  105.           void getPos(int& x, int& y)
  106.           void getSize(int& x, int& y)
  107.           virtual void getImgPos(float& x, float& y, unsigned imgIdx = 0)
  108.           virtual void getImgSize(int& x, int& y, unsigned imgIdx = 0)
  109.           virtual void getImgPos(float& x, float& y, float& z,
  110.                                  unsigned imgIdx = 0)
  111.           virtual void getImgSize(int& x, int& y, int& z, unsigned imgIdx = 0)
  112.           float getZ()
  113.           void setZ(float z)
  114.           virtual void setImg(ilImage* ilInImg, unsigned imgIdx = 0)
  115.           void setXImg(XImage* xInImg)
  116.           virtual ilImage* getImg(unsigned imgIdx = 0)
  117.           XImage* getXImg()
  118.           void setNop(int noOp)
  119.           int isNop()
  120.           void setDefer(int defer)
  121.           int isDefer()
  122.           virtual int isStereoView()
  123.           int isTransparencyShown()
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  134.  
  135.  
  136.  
  137.      PPPPiiiixxxxeeeellll aaaacccccccceeeessssssss
  138.  
  139.           void getPixel(int x, int y, iflPixel& pix, int mode = 0,
  140.                         unsigned imgIdx = 0)
  141.           void setPixel(int x, int y, iflPixel& pix, int mode = 0,
  142.                         unsigned imgIdx = 0)
  143.  
  144.      QQQQuuuueeeerrrryyyyiiiinnnngggg////ppppoooossssiiiittttiiiioooonnnniiiinnnngggg bbbbyyyy iiiimmmmaaaaggggeeee llllooooccccaaaattttiiiioooonnnn
  145.  
  146.           void getImgLoc(float ix, float iy, float& x, float& y,
  147.                          int mode = ilLocIn,
  148.                          iflOrientation orientation = iflOrientation(0),
  149.                          unsigned imgIdx = 0)
  150.           void getLoc(float x, float y, float& ix, float& iy,
  151.                       int mode = ilLocIn,
  152.                       iflOrientation orientation = iflOrientation(0),
  153.                       unsigned imgIdx = 0)
  154.           void getLoc(float& ix, float& iy, int mode = ilLocIn|ilCenter,
  155.                       iflOrientation orientation = iflOrientation(0),
  156.                       unsigned imgIdx = 0)
  157.           void setLoc(float ix, float iy, float x, float y, int mode = ilLocIn,
  158.                       iflOrientation orientation = iflOrientation(0),
  159.                       unsigned imgIdx = 0)
  160.           void setLoc(float ix, float iy, int mode = ilLocIn|ilCenter,
  161.                       iflOrientation orientation = iflOrientation(0),
  162.                       unsigned imgIdx = 0)
  163.  
  164.      AAAAuuuuttttoooommmmaaaattttiiiicccc cccceeeennnntttteeeerrrriiiinnnngggg
  165.  
  166.           void setAutoCenter(int enable=TRUE)
  167.           int isAutoCentered()
  168.  
  169.      EEEEddddggggeeee ffffiiiinnnnddddiiiinnnngggg
  170.  
  171.           int findEdge(int x, int y, int margin = -1, int mode = ilDspCoord)
  172.  
  173.      BBBBaaaacccckkkkggggrrrroooouuuunnnndddd,,,, ffffiiiillllllll aaaannnndddd eeeerrrrrrrroooorrrr ccccoooolllloooorrrrssss
  174.  
  175.           void getBackground(float& red, float& green, float& blue)
  176.           void setBackground(float red, float green, float blue)
  177.           void getErrorColor(float& red, float& green, float& blue)
  178.           void setErrorColor(float red, float green, float blue)
  179.           void showTransparency(int enable=TRUE);
  180.           void ilViewShowTransparency(ilView* obj, int enable);
  181.  
  182.      SSSSttttaaaattttiiiicccc uuuuppppddddaaaatttteeee ccccoooonnnnttttrrrroooollll
  183.  
  184.           int isStaticUpdate()
  185.           void setStaticUpdate(int enable)
  186.           void setAutoStaticUpdate(int enable)
  187.  
  188.      VVVViiiieeeewwww sssseeeelllleeeeccccttttiiiioooonnnn
  189.  
  190.  
  191.  
  192.                                                                         PPPPaaaaggggeeee 3333
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  200.  
  201.  
  202.  
  203.           void select()
  204.           void unselect()
  205.           int isSelected()
  206.  
  207.      CCCCaaaallllllllbbbbaaaacccckkkk ssssuuuuppppppppoooorrrrtttt
  208.  
  209.           void setCallback(ilCallback* prepare, ilCallback* render,
  210.                            ilCallback* finish = NULL)
  211.           void setBorderCallback(ilCallback* prepare, ilCallback* render,
  212.                                  ilCallback* finish = NULL)
  213.           void getCallback(ilCallback*& prepare, ilCallback*& render,
  214.                            ilCallback*& finish)
  215.           void getBorderCallback(ilCallback*& prepare, ilCallback*& render,
  216.                                  ilCallback*& finish)
  217.           void enableCallback(int enable = TRUE)
  218.           void enableBorderCallback(int enable = TRUE)
  219.           int isCallbackEnabled()
  220.           int isBorderCallbackEnabled()
  221.  
  222.      BBBBoooorrrrddddeeeerrrr ccccoooonnnnttttrrrroooollll
  223.  
  224.           int getBorderStyle()
  225.           void setBorderStyle(int style = ilViewBdrSolidLines)
  226.           int getBorderWidth()
  227.           void setBorderWidth(int bordWidth)
  228.           void getBorderColor(float& red, float& green, float& blue)
  229.           void setBorderColor(float red, float green, float blue)
  230.           void setBorders(int flag, int mode = ilDefault)
  231.           int hasBorders()
  232.           void getBorders(iflTile2Dint& top, iflTile2Dint& bot,
  233.                           iflTile2Dint& lf, iflTile2Dint& rt,
  234.                           iflOrientation orientation)
  235.  
  236.      DDDDiiiissssppppllllaaaayyyy ooooppppeeeerrrraaaattttoooorrrrssss
  237.  
  238.           void moveView(int x, int y, int mode = ilRelVal)
  239.           void moveImg(float x, float y, int mode = ilRelVal)
  240.           void wipe(int x, int y, int mode = ilRelVal)
  241.           void wipeSize(int x, int y, int mode = ilDelVal | ilTopRight)
  242.           void wipeSplit(int x, int y, int mode = ilRelVal)
  243.           void split(int mode = ilAbsSplit|ilRowSplit|ilColSplit)
  244.           void alignImg(int mode = ilCenter)
  245.           void alignView(int mode = ilCenter, ilView* rView = NULL)
  246.           void update(int x = 0, int y = 0, int nx = 0, int ny = 0,
  247.                       float imgX = 0, float imgY = 0, int mode = ilDelVal)
  248.           void paint(int mode = 0)
  249.           void qPaint(ilMpNode* parent, int mode = 0, ilMpManager** pMgr = NULL)
  250.           void display(int vMode =ilCenter, int iMode =ilCenter)
  251.           void resize(int mode = 0)
  252.           ilStatus save(ilImage* img, int mode = 0)
  253.           void getImgSizeImg(ilImage* img, int& x, int& y, int& z)    _p_r_o_t_e_c_t_e_d
  254.           void setDirty()
  255.  
  256.  
  257.  
  258.                                                                         PPPPaaaaggggeeee 4444
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  266.  
  267.  
  268.  
  269. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
  270.      iiiillllVVVViiiieeeewwww(((())))
  271.  
  272.           ilView(ilDisplay* disply, ilImage* img, int mode = 0)
  273.           ilView(ilDisplay* disply, XImage* img, int mode = 0)
  274.           ilView(ilDisplay* disply)
  275.  
  276.  
  277.           All three versions of the constructor require a pointer to the
  278.           ilDisplay that is to manage this ilView. The first version takes a
  279.           pointer to an iiiillllIIIImmmmaaaaggggeeee and the second takes a pointer to an XXXXIIIImmmmaaaaggggeeee.
  280.           The XImage is converted to an ilImage using iiiillllXXXXIIIImmmmaaaaggggeeee. The third
  281.           version of the constructor allows a view to be created without an
  282.           image. This view will display the background color until an image is
  283.           mapped to it using setImg() or setXImg(). By default, the view is
  284.           the size of the input image.  However, if ilClip is passed in _m_o_d_e,
  285.           the view size will be clipped to the size of ilDisplay's display
  286.           area.
  287.  
  288.           By default, the background color is black, the border color is
  289.           yellow, the border width is 4 pixels with a border style of
  290.           _i_l_V_i_e_w_B_d_r_M_i_d_d_l_e_H_a_n_d_l_e_s, and the error color is magenta. However,
  291.           these attributes can be set.
  292.  
  293.           The view is initially positioned at the origin of the display area.
  294.           And by default, the view is the size of the image. However, if there
  295.           is no input image or if ilClip is specified, the view is the size of
  296.           the display area.
  297.  
  298.      aaaalllliiiiggggnnnnIIIImmmmgggg(((())))
  299.  
  300.           void alignImg(int mode = ilCenter)
  301.  
  302.  
  303.           Aligns the image mapped to this view based on _m_o_d_e. For example, if
  304.           ilCenter is specified, the images will be centered within the view.
  305.           Similarly, if ilBottomLeft is specified, the upper left corner of
  306.           the image is aligned to the upper left corner of the view. See
  307.           _i_l/_i_l_D_i_s_p_l_a_y_D_e_f._h for a complete list of modes.
  308.  
  309.      aaaalllliiiiggggnnnnVVVViiiieeeewwww(((())))
  310.  
  311.           void alignView(int mode = ilCenter, ilView* rView = NULL)
  312.  
  313.  
  314.           Aligns the view to the reference view specified in _r_V_i_e_w. The two
  315.           views are aligned based on bit flags passed in _m_o_d_e. For example, if
  316.           ilCenter is specified, the center of the view is aligned to the
  317.           center of the reference view. Similarly, if ilTopRight is specified,
  318.           the upper right corner of the view is aligned to the upper right
  319.           corner of the reference view. If NULL is passed in rView, the
  320.           background view in ilDisplay is used. See _i_l/_i_l_D_i_s_p_l_a_y_D_e_f_s._h for a
  321.  
  322.  
  323.  
  324.                                                                         PPPPaaaaggggeeee 5555
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  332.  
  333.  
  334.  
  335.           complete list of modes.
  336.  
  337.      ddddiiiissssppppllllaaaayyyy(((())))
  338.  
  339.           void display(int vMode =ilCenter, int iMode =ilCenter)
  340.  
  341.  
  342.           This function resizes, aligns and paints the view. If ilDefer is
  343.           specified, then painting is deferred. The view is resized to the
  344.           size of the image.  However, if ilClip is specified, the view is
  345.           clipped to the size of the display.  The view is aligned to the
  346.           display as specified in _v_M_o_d_e and the image mapped to the view is
  347.           aligned as specified in _i_M_o_d_e. See <_i_l/_i_l_D_i_s_p_l_a_y_D_e_f_s._h> for a
  348.           complete list
  349.  
  350.      eeeennnnaaaabbbblllleeeeBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  351.  
  352.           void enableBorderCallback(int enable = TRUE)
  353.  
  354.  
  355.           This function enables or disables the border callback. See
  356.  
  357.      eeeennnnaaaabbbblllleeeeCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  358.  
  359.           void enableCallback(int enable = TRUE)
  360.  
  361.  
  362.           This function enables or disables the post-render callback for this
  363.           view. See sssseeeettttCCCCaaaallllllllbbbbaaaacccckkkk().
  364.  
  365.      ffffiiiinnnnddddEEEEddddggggeeee(((())))
  366.  
  367.           int findEdge(int x, int y, int margin = -1, int mode = ilDspCoord)
  368.  
  369.  
  370.           Returns all edges that are within _m_a_r_g_i_n pixels of _x and _y.  If -1
  371.           is passed in _m_a_r_g_i_n, then the default margin of 15 pixels or the
  372.           border width is used - which ever is larger. For example, if x and y
  373.           are near the right edge, then ilRightEdge is returned. If x and y
  374.           are near the bottom right corner, then ilBottomRight (ilBottomEdge |
  375.           ilRightEdge) is returned. If there are no edges within margin
  376.           pixels, then ilNoEdge is returned. If x and y are more than margin
  377.           pixels outside of the view, then ilNoView is returned. Note that the
  378.           value returned can be used directly to perform a wipe operation.
  379.  
  380.           The x and y parameters are interpreted based on _m_o_d_e. If ilDspCoord
  381.           is specified, the x and y are interpreted as display (window)
  382.           coordinates. If ilScrCoord is specified, then they are interpreted
  383.           as screen coordinates. See _i_l/_i_l_D_i_s_p_l_a_y_D_e_f._h for a complete list of
  384.           modes.
  385.  
  386.  
  387.  
  388.  
  389.  
  390.                                                                         PPPPaaaaggggeeee 6666
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  398.  
  399.  
  400.  
  401.      ggggeeeettttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd(((())))
  402.  
  403.           void getBackground(float& red, float& green, float& blue)
  404.  
  405.  
  406.           Copies the current background color to _r_e_d, _g_r_e_e_n and _b_l_u_e.  By
  407.           default, the background color is black.
  408.  
  409.      ggggeeeettttBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  410.  
  411.           void getBorderCallback(ilCallback*& prepare, ilCallback*& render,
  412.                                  ilCallback*& finish)
  413.  
  414.  
  415.           Returns the three border callbacks in _p_r_e_p_a_r_e, _r_e_n_d_e_r and _f_i_n_i_s_h.
  416.           See sssseeeettttBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk().
  417.  
  418.      ggggeeeettttBBBBoooorrrrddddeeeerrrrCCCCoooolllloooorrrr(((())))
  419.  
  420.           void getBorderColor(float& red, float& green, float& blue)
  421.  
  422.  
  423.           Copies the current border color to _r_e_d, _g_r_e_e_n and _b_l_u_e.
  424.  
  425.      ggggeeeettttBBBBoooorrrrddddeeeerrrrSSSSttttyyyylllleeee(((())))
  426.  
  427.           int getBorderStyle()
  428.  
  429.  
  430.           Returns the current border style. See sssseeeettttBBBBoooorrrrddddeeeerrrrSSSSttttyyyylllleeee().
  431.  
  432.      ggggeeeettttBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh(((())))
  433.  
  434.           int getBorderWidth()
  435.  
  436.  
  437.           Returns the current border width in pixels.
  438.  
  439.      ggggeeeettttBBBBoooorrrrddddeeeerrrrssss(((())))
  440.  
  441.           void getBorders(iflTile2Dint& top, iflTile2Dint& bot,
  442.                           iflTile2Dint& lf, iflTile2Dint& rt,
  443.                           iflOrientation orientation)
  444.  
  445.  
  446.           This function returns the four tiles that makeup the view border.
  447.           The top and bottom tiles are the full width of the view and have a
  448.           height of bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh pixels. The left and right tiles have a height
  449.           equal to the view height minus twice the border width and have a
  450.           width of bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh pixels.
  451.  
  452.  
  453.  
  454.  
  455.  
  456.                                                                         PPPPaaaaggggeeee 7777
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  464.  
  465.  
  466.  
  467.      ggggeeeettttCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  468.  
  469.           void getCallback(ilCallback*& prepare, ilCallback*& render,
  470.                            ilCallback*& finish)
  471.  
  472.  
  473.           Returns the three post-render callbacks in _p_r_e_p_a_r_e, _r_e_n_d_e_r and
  474.           _f_i_n_i_s_h. See sssseeeettttCCCCaaaallllllllbbbbaaaacccckkkk().
  475.  
  476.      ggggeeeettttDDDDiiiissssppppllllaaaayyyy(((())))
  477.  
  478.           ilDisplay* getDisplay()
  479.  
  480.  
  481.           This method returns a pointer to the ilDisplay that this view is
  482.           associated with.
  483.  
  484.      ggggeeeettttEEEErrrrrrrroooorrrrCCCCoooolllloooorrrr(((())))
  485.  
  486.           void getErrorColor(float& red, float& green, float& blue)
  487.  
  488.  
  489.           Copies the current error color to _r_e_d, _g_r_e_e_n and _b_l_u_e. By default
  490.           the error color is yellow.
  491.  
  492.      ggggeeeettttIIIImmmmgggg(((())))
  493.  
  494.           virtual ilImage* getImg(unsigned imgIdx = 0)
  495.  
  496.  
  497.           Returns an iiiillllIIIImmmmaaaaggggeeee pointer to the view's image. The _i_m_g_I_d_x parameter
  498.           controls which image of a multi-image view (e.g., stereo) to select.
  499.           Currently only two values are accepted in imgIdx.  These are defined
  500.           in the ilViewImgPairIdx enumerated type. They are ilViewImgPairLeft
  501.           and ilViewImgPairRight. Since this view class does not support
  502.           multiple images within a view, however, this parameter is ignored in
  503.           this implementation.
  504.  
  505.      ggggeeeettttIIIImmmmggggLLLLoooocccc(((())))
  506.  
  507.           void getImgLoc(float ix, float iy, float& x, float& y,
  508.                          int mode = ilLocIn,
  509.                          iflOrientation orientation = iflOrientation(0),
  510.                          unsigned imgIdx = 0)
  511.  
  512.  
  513.           This function is similar to getLoc(). It returns the image location
  514.           specified by _i_x, _i_y relative to the display window. The location is
  515.           returned in _x, _y and is mapped to the specified _o_r_i_e_n_t_a_t_i_o_n. If no
  516.           orientation is specified, the returned xy location is in the
  517.           display's workOrientation which is iiiiffffllllUUUUppppppppeeeerrrrLLLLeeeeffffttttOOOOrrrriiiiggggiiiinnnn.
  518.  
  519.  
  520.  
  521.  
  522.                                                                         PPPPaaaaggggeeee 8888
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  530.  
  531.  
  532.  
  533.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  534.           (e.g., stereo) to select. Currently only two values are accepted in
  535.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  536.           They are ilViewImgPairLeft and ilViewImgPairRight.
  537.  
  538.      ggggeeeettttIIIImmmmggggPPPPoooossss(((())))
  539.  
  540.           virtual void getImgPos(float& x, float& y, float& z,
  541.                                  unsigned imgIdx = 0)
  542.           virtual void getImgPos(float& x, float& y, unsigned imgIdx = 0)
  543.  
  544.  
  545.           Returns the position of the image within the view in _x, _y. The image
  546.           position controls what part of the image is displayed in the view,
  547.           similar to the way getTile works. In other words, the image position
  548.           corresponds to the upper left corner of the view (not the origin of
  549.           the image).  The 3D version returns the image position in the x,y,z
  550.           dimensions.  The _i_m_g_I_d_x parameter controls which image of a multi-
  551.           image view (e.g., stereo) to select. Currently only two values are
  552.           accepted in imgIdx.  These are defined in the ilViewImgPairIdx
  553.           enumerated type. They are ilViewImgPairLeft and ilViewImgPairRight.
  554.           Since this view class does not support multiple images within a
  555.           view, however, this parameter is ignored.
  556.  
  557.      ggggeeeettttIIIImmmmggggSSSSiiiizzzzeeee(((())))
  558.  
  559.           virtual void getImgSize(int& x, int& y, int& z, unsigned imgIdx = 0)
  560.           virtual void getImgSize(int& x, int& y, unsigned imgIdx = 0)
  561.  
  562.  
  563.           Returns the size of the image in _x, _y.  The 3D version also returns
  564.           the image size in the z dimension.  The _i_m_g_I_d_x parameter controls
  565.           which image of a multi-image view (e.g., stereo) to select.
  566.           Currently only two values are accepted in imgIdx.  These are defined
  567.           in the ilViewImgPairIdx enumerated type. They are ilViewImgPairLeft
  568.           and ilViewImgPairRight. Since this view class does not support
  569.           multiple images within a view, however, this parameter is ignored.
  570.  
  571.      ggggeeeettttIIIImmmmggggSSSSiiiizzzzeeeeIIIImmmmgggg(((())))
  572.  
  573.           void getImgSizeImg(ilImage* img, int& x, int& y, int& z)    _p_r_o_t_e_c_t_e_d
  574.  
  575.  
  576.           Returns the size of _i_m_g in the ilDisplay's work orientation, or all
  577.           zeroes if _i_m_g is NULL.
  578.  
  579.      ggggeeeettttLLLLoooocccc(((())))
  580.  
  581.           void getLoc(float x, float y, float& ix, float& iy,
  582.                       int mode = ilLocIn,
  583.                       iflOrientation orientation = iflOrientation(0),
  584.                       unsigned imgIdx = 0)
  585.  
  586.  
  587.  
  588.                                                                         PPPPaaaaggggeeee 9999
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  596.  
  597.  
  598.  
  599.           void getLoc(float& ix, float& iy, int mode = ilLocIn|ilCenter,
  600.                       iflOrientation orientation = iflOrientation(0),
  601.                       unsigned imgIdx = 0)
  602.  
  603.  
  604.           This function returns the location in the image, corresponding to _x
  605.           and _y. The location in the image is returned in _i_x and _i_y and is
  606.           mapped to the specified _o_r_i_e_n_t_a_t_i_o_n. If no orientation is specified,
  607.           the returned xy location is in the display's workOrientation which
  608.           is iiiiffffllllUUUUppppppppeeeerrrrLLLLeeeeffffttttOOOOrrrriiiiggggiiiinnnn. If iiiillllLLLLooooccccIIIInnnn is passed in _m_o_d_e, the location is
  609.           returned in the input space of the image. If iiiillllLLLLooooccccOOOOuuuutttt is passed in
  610.           _m_o_d_e, the location is returned in the output space of the image.
  611.           For example, if an ilRotZoomIng is mapped to the view and ilLocIn is
  612.           specified, _i_x and _i_y will correspond to the location in the unzoomed
  613.           image. However if ilLocOut is specified, _i_x and _i_y will correspond
  614.           to the location in the zoomed image.
  615.  
  616.           The second version determines the desired location based on _m_o_d_e.
  617.           For example, if iiiillllCCCCeeeennnntttteeeerrrr is specified, the location corresponding to
  618.           the center of the view is returned. If iiiillllBBBBoooottttttttoooommmmLLLLeeeefffftttt is specified,
  619.           the location corresponding to the bottom left corner of the view is
  620.           returned. Note that _m_o_d_e is a bit-wise inclusive OR of various flags
  621.           defined in ilDisplayDefs.h.
  622.  
  623.           In both versions the _i_m_g_I_d_x parameter controls which image of a
  624.           multi-image view (e.g., stereo) to select. Currently only two values
  625.           are accepted in imgIdx.  These are defined in the ilViewImgPairIdx
  626.           enumerated type. They are ilViewImgPairLeft and ilViewImgPairRight.
  627.  
  628.      ggggeeeettttPPPPiiiixxxxeeeellll(((())))
  629.  
  630.           void getPixel(int x, int y, iflPixel& pix, int mode = 0,
  631.                         unsigned imgIdx = 0)
  632.  
  633.  
  634.           Returns the pixel in the image corresponding to the location _x and
  635.           _y. The pixel value is returned in _p_i_x. The x and y parameters are
  636.           interpreted based on _m_o_d_e. If ilDspCoord is specified, the x and y
  637.           are interpreted as display (window) coordinates.  If ilScrCoord is
  638.           specified, then they are interpreted as screen coordinates. (see
  639.           also setPixel())
  640.  
  641.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  642.           (e.g., stereo) to select. Currently only two values are accepted in
  643.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  644.           They are ilViewImgPairLeft and ilViewImgPairRight.
  645.  
  646.      ggggeeeettttPPPPoooossss(((())))
  647.  
  648.           void getPos(int& x, int& y)
  649.  
  650.  
  651.  
  652.  
  653.  
  654.                                                                        PPPPaaaaggggeeee 11110000
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  662.  
  663.  
  664.  
  665.           Returns the position of the view within the display in _x, _y. Any
  666.           pending changes to the view position are accounted for.
  667.  
  668.      ggggeeeettttSSSSiiiizzzzeeee(((())))
  669.  
  670.           void getSize(int& x, int& y)
  671.  
  672.  
  673.           Returns the size of the view in _x and _y. Any pending changes to the
  674.           view size are accounted for.
  675.  
  676.      ggggeeeettttXXXXIIIImmmmgggg(((())))
  677.  
  678.           XImage* getXImg()
  679.  
  680.  
  681.           Returns an XXXXIIIImmmmaaaaggggeeee pointer to the view's image.
  682.  
  683.      ggggeeeettttZZZZ(((())))
  684.  
  685.           float getZ()
  686.  
  687.  
  688.           Returns the current z dimension being displayed for the mapped
  689.           image.  An ilImage may have a z dimension greater than 1. In which
  690.           case, any one of these xy planes can be displayed. See also sssseeeettttZZZZ(((()))).
  691.  
  692.      hhhhaaaassssBBBBoooorrrrddddeeeerrrrssss(((())))
  693.  
  694.           int hasBorders()
  695.  
  696.  
  697.           Returns TRUE if borders are enabled, FALSE otherwise.
  698.  
  699.      iiiissssAAAAuuuuttttooooCCCCeeeennnntttteeeerrrreeeedddd(((())))
  700.  
  701.           int isAutoCentered()
  702.  
  703.  
  704.           Returns TRUE if auto centering are enabled, FALSE otherwise.  See
  705.           sssseeeettttAAAAuuuuttttooooCCCCeeeennnntttteeeerrrr() for more details.
  706.  
  707.      iiiissssBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkkEEEEnnnnaaaabbbblllleeeedddd(((())))
  708.  
  709.           int isBorderCallbackEnabled()
  710.  
  711.  
  712.           Returns _T_R_U_E if the border callback has been set and is enabled.
  713.           Otherwise it returns _F_A_L_S_E. See
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.                                                                        PPPPaaaaggggeeee 11111111
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  728.  
  729.  
  730.  
  731.      iiiissssCCCCaaaallllllllbbbbaaaacccckkkkEEEEnnnnaaaabbbblllleeeedddd(((())))
  732.  
  733.           int isCallbackEnabled()
  734.  
  735.  
  736.           Returns _T_R_U_E if the border callback has been set and is enabled.
  737.           Otherwise it returns _F_A_L_S_E. See sssseeeettttCCCCaaaallllllllbbbbaaaacccckkkk().
  738.  
  739.      iiiissssDDDDeeeeffffeeeerrrr(((())))
  740.  
  741.           int isDefer()
  742.  
  743.  
  744.           Returns TRUE if painting is deferred, FALSE otherwise. See
  745.           setDefer() for more information.
  746.  
  747.      iiiissssNNNNoooopppp(((())))
  748.  
  749.           int isNop()
  750.  
  751.  
  752.           Returns the state of the NOP flag. If the NOP flag is TRUE then the
  753.           view will be unaffected by display operations on the view stack in
  754.           ilDisplay.
  755.  
  756.      iiiissssSSSSeeeelllleeeecccctttteeeedddd(((())))
  757.  
  758.           int isSelected()
  759.  
  760.  
  761.           Returns TRUE if the view is selected, FALSE otherwise. See select()
  762.           for more information.
  763.  
  764.      iiiissssSSSSttttaaaattttiiiiccccUUUUppppddddaaaatttteeee(((())))
  765.  
  766.           int isStaticUpdate()
  767.  
  768.  
  769.           Returns TRUE if the staticUpdate flag or autoStaticUpdate flag are
  770.           TRUE.  See setStaticUpdate() and setAutoStaticUpdate() for
  771.           information.
  772.  
  773.      iiiissssSSSStttteeeerrrreeeeooooVVVViiiieeeewwww(((())))
  774.  
  775.           virtual int isStereoView()
  776.  
  777.  
  778.           Returns TRUE if the view is a stereo view.
  779.  
  780.      iiiissssTTTTrrrraaaannnnssssppppaaaarrrreeeennnnccccyyyySSSShhhhoooowwwwnnnn(((())))
  781.  
  782.  
  783.  
  784.  
  785.  
  786.                                                                        PPPPaaaaggggeeee 11112222
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  794.  
  795.  
  796.  
  797.           int isTransparencyShown()
  798.  
  799.  
  800.           Returns TRUE if transparency is used when displaying the image in
  801.           the view.
  802.  
  803.      mmmmoooovvvveeeeIIIImmmmgggg(((())))
  804.  
  805.           void moveImg(float x, float y, int mode = ilRelVal)
  806.  
  807.  
  808.           This function moves the image within the view, as specified by _x and
  809.           _y. The _m_o_d_e controls how the function operates. If ilClip is passed
  810.           in mode, the image position is clipped to prevent moving beyond the
  811.           edge of the image. However, by default, the image may be moved
  812.           beyond its edge, exposing the image's fill value. The view is
  813.           painted after the image has been moved, unless ilDefer is passed in
  814.           mode. The mode also controls how the x and y parameters are
  815.           interpreted.
  816.  
  817.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  818.           the image position. If ilAbsVal is specified, x and y specify the
  819.           new position of the image. Note that the image position corresponds
  820.           to the upper-left corner of the view, rather than the origin of the
  821.           image.
  822.  
  823.           If ilRelVal is passed in _m_o_d_e, then x and y are interpreted relative
  824.           to a starting xy coordinate maintained within ilDisplay.  Typically,
  825.           ilRelVal is used for interactive applicatons that use the mouse to
  826.           control movement. The sssseeeettttSSSSttttaaaarrrrtttt(((()))) function on ilDisplay must be
  827.           called to set the starting xy location. Then the difference between
  828.           the starting xy location and the specified xy location is used to
  829.           adjust the image position. The starting xy location is then updated.
  830.           Specifying ilOldRel has the same effect as ilRelVal except that the
  831.           starting xy location is not updated.
  832.  
  833.      mmmmoooovvvveeeeVVVViiiieeeewwww(((())))
  834.  
  835.           void moveView(int x, int y, int mode = ilRelVal)
  836.  
  837.  
  838.           This function moves the view within the display, as specified by
  839.           _a_n_d _y. _T_h_e _m_o_d_e _c_o_n_t_r_o_l_s _h_o_w _t_h_e _f_u_n_c_t_i_o_n _o_p_e_r_a_t_e_s.  _I_f _i_l_C_l_i_p _i_s
  840.           _p_a_s_s_e_d _i_n _m_o_d_e, _t_h_e _v_i_e_w _p_o_s_i_t_i_o_n _i_s _c_l_i_p_p_e_d _t_o _p_r_e_v_e_n_t _m_o_v_i_n_g
  841.           _b_e_y_o_n_d _t_h_e _e_d_g_e _o_f _t_h_e _d_i_s_p_l_a_y. _H_o_w_e_v_e_r, _b_y _d_e_f_a_u_l_t, _t_h_e _v_i_e_w _m_a_y _b_e
  842.           _m_o_v_e_d _b_e_y_o_n_d _t_h_e _e_d_g_e _o_f _t_h_e _d_i_s_p_l_a_y. _T_h_e _v_i_e_w _i_s _p_a_i_n_t_e_d _a_f_t_e_r _t_h_e
  843.           _v_i_e_w _h_a_s _b_e_e_n _m_o_v_e_d, _u_n_l_e_s_s _i_l_D_e_f_e_r _i_s _p_a_s_s_e_d _i_n _m_o_d_e. _T_h_e _m_o_d_e _a_l_s_o
  844.           _c_o_n_t_r_o_l_s _h_o_w _t_h_e _x _a_n_d _y _p_a_r_a_m_e_t_e_r_s _a_r_e _i_n_t_e_r_p_r_e_t_e_d.
  845.  
  846.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  847.           the view position. If ilAbsVal is specified, x and y specify the new
  848.           position of the view. Note that the view position corresponds to the
  849.  
  850.  
  851.  
  852.                                                                        PPPPaaaaggggeeee 11113333
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  860.  
  861.  
  862.  
  863.           upper-left corner of the view relative to the upper-left corner of
  864.           the display.
  865.  
  866.           If ilRelVal is passed in _m_o_d_e, then x and y are interpreted relative
  867.           to a starting xy coordinate maintained within ilDisplay.Typically,
  868.           ilRelVal is used for interactive applicatons that use the mouse to
  869.           control movement. The sssseeeettttSSSSttttaaaarrrrtttt(((()))) function on ilDisplay must be
  870.           called to set the starting xy location. Then the difference between
  871.           the starting xy location and the specified xy location is used to
  872.           adjust the view position. The starting xy location is then updated.
  873.           Specifying ilOldRel has the same effect as ilRelVal except that the
  874.           starting xy location is not updated.
  875.  
  876.      ppppaaaaiiiinnnntttt(((())))
  877.  
  878.           void paint(int mode = 0)
  879.  
  880.  
  881.           This function paints the view if it needs to be painted. If
  882.           ilPaintExpose is passed in _m_o_d_e, the view is forced to be painted.
  883.           If ilDefer is passed in _m_o_d_e, or if the view is deferred (see
  884.           setDefer()), then the view will not be painted. The view position,
  885.           size and image position are unaffected.
  886.  
  887.      qqqqPPPPaaaaiiiinnnntttt(((())))
  888.  
  889.           void qPaint(ilMpNode* parent, int mode = 0, ilMpManager** pMgr = NULL)
  890.  
  891.  
  892.           This function is identical to ppppaaaaiiiinnnntttt() except that the paint
  893.           operation is queued and the function returns immediately. This
  894.           allows the application thread to return to processing events and
  895.           thus provide a responsive UI. See iiiillllMMMMppppMMMMaaaannnnaaaaggggeeeerrrr and iiiillllMMMMppppNNNNooooddddeeee for more
  896.           information.
  897.  
  898.           If an iiiillllMMMMppppNNNNooooddddeeee is passed as _p_a_r_e_n_t, the paint requests are queued on
  899.           the parent node. If _p_M_g_r is specified, the iiiillllMMMMppppMMMMaaaannnnaaaaggggeeeerrrr created to
  900.           queue the paint requests is returned. This allows an application to
  901.           setup a completion callback or wait for the queued requests to
  902.           complete.
  903.  
  904.      rrrreeeessssiiiizzzzeeee(((())))
  905.  
  906.           void resize(int mode = 0)
  907.  
  908.  
  909.           This function resizes the view to be the size of the image. However,
  910.           if ilClip is passed, the view size is clipped to the size of the
  911.           display.  In addition, an alignment mode such as ilCenter can be
  912.           passed in _m_o_d_e to center the image within the view. If ilNoAlign is
  913.           passed instead, no image alignment is done. Unless ilDefer is
  914.           passed, the view is painted after resizing and alignment.
  915.  
  916.  
  917.  
  918.                                                                        PPPPaaaaggggeeee 11114444
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  926.  
  927.  
  928.  
  929.      ssssaaaavvvveeee(((())))
  930.  
  931.           ilStatus save(ilImage* img, int mode = 0)
  932.  
  933.  
  934.           This function saves a region of the display area into the ilImage
  935.           specified by _i_m_g. The region saved, starts at the current view
  936.           position and is the size of _i_m_g. By default borders are not painted.
  937.           However, if ilPaintBorder is passed in mode, then borders will be
  938.           painted.
  939.  
  940.      sssseeeelllleeeecccctttt(((())))
  941.  
  942.           void select()
  943.  
  944.  
  945.           This function selects a view by turning on borders and setting the
  946.           nnnnoooopppp flag to FALSE. If the nop flag is TRUE, the view is not affected
  947.           during multi-view operations. See also unselect() and setNop().
  948.  
  949.      sssseeeettttAAAAuuuuttttooooCCCCeeeennnntttteeeerrrr(((())))
  950.  
  951.           void setAutoCenter(int enable=TRUE)
  952.  
  953.  
  954.           This method enables or disables auto centering based on the value of
  955.           the _e_n_a_b_l_e flag.  When auto centering is enabled the center position
  956.           in the view of the ultimate source image for the displayed image
  957.           will be tracked whenever the image is repositioned.  When the input
  958.           image is altered and the view is repainted the last tracked position
  959.           before the alteration will be recentered in the view.  This is very
  960.           useful when diplaying a rotating or zooming image. When the angle or
  961.           zoom factor are changed on the input image the same portion of the
  962.           input to the operator image will be stay in the center of the view.
  963.  
  964.      sssseeeettttAAAAuuuuttttooooSSSSttttaaaattttiiiiccccUUUUppppddddaaaatttteeee(((())))
  965.  
  966.           void setAutoStaticUpdate(int enable)
  967.  
  968.  
  969.           Enables or disables _a_u_t_o_S_t_a_t_i_c_U_p_d_a_t_e mode as specified by _e_n_a_b_l_e.
  970.           When _a_u_t_o_S_t_a_t_i_c_U_p_d_a_t_e mode is enabled, a static update will occur
  971.           when the view is painted after a reset has occurred.  A reset is
  972.           caused by changing inputs or processing parameters in the chain. In
  973.           this case, the entire exposed region of the view needs to be
  974.           painted. Rather than painting the region as many small tiles, each
  975.           rectangular region is painted as one large tile for better
  976.           performance.  After the static update has been completed, normal
  977.           tiled painting resumes. By default, automatic static update is
  978.           enabled.  However, it only has effect for hardware acceleration.
  979.  
  980.  
  981.  
  982.  
  983.  
  984.                                                                        PPPPaaaaggggeeee 11115555
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  992.  
  993.  
  994.  
  995.      sssseeeettttBBBBaaaacccckkkkggggrrrroooouuuunnnndddd(((())))
  996.  
  997.           void setBackground(float red, float green, float blue)
  998.  
  999.  
  1000.           Sets the background color to _r_e_d, _g_r_e_e_n and _b_l_u_e. The background
  1001.           color is only visible if no image is mapped to the view.
  1002.  
  1003.      sssseeeettttBBBBoooorrrrddddeeeerrrrCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  1004.  
  1005.           void setBorderCallback(ilCallback* prepare, ilCallback* render,
  1006.                                  ilCallback* finish = NULL)
  1007.  
  1008.  
  1009.           Sets the three border callbacks to the iiiillllCCCCaaaallllllllbbbbaaaacccckkkk functions
  1010.           specified by _p_r_e_p_a_r_e, _r_e_n_d_e_r and _f_i_n_i_s_h. The prepare and finish
  1011.           callbacks are called from an IL compute thread and are used to
  1012.           allocate and deallocate any needed buffers or to compute and save
  1013.           any state information.  The render callback is called by the IL
  1014.           render thread and must execute as efficiently as possible for
  1015.           maximum performance. Any graphics state changes must be restored
  1016.           before returning from the render callback. Note that the prepare and
  1017.           finish callbacks may be NULL if not required. However, the finish
  1018.           callback is required.
  1019.  
  1020.           The border callback(s) is called only if it has been set and
  1021.           enabled. It may be changed or disabled as needed. If the border
  1022.           callback is called, the normal view borders are not painted. This
  1023.           allows an application to draw custom borders if desired. An
  1024.           iiiillllVVVViiiieeeewwwwCCCCbbbbAAAArrrrgggg is passed to each of the three callbacks and provides
  1025.           member functions to support border and graphics rendering. For
  1026.           example, the delta view size, position and image position may be
  1027.           queried. Also a list of border tiles to draw may be aquired. See
  1028.           iiiillllVVVViiiieeeewwwwCCCCaaaallllllllbbbbaaaacccckkkk for more information.
  1029.  
  1030.      sssseeeettttBBBBoooorrrrddddeeeerrrrCCCCoooolllloooorrrr(((())))
  1031.  
  1032.           void setBorderColor(float red, float green, float blue)
  1033.  
  1034.  
  1035.           Sets the border color to _r_e_d, _g_r_e_e_n and _b_l_u_e.
  1036.  
  1037.      sssseeeettttBBBBoooorrrrddddeeeerrrrSSSSttttyyyylllleeee(((())))
  1038.  
  1039.           void setBorderStyle(int style = ilViewBdrSolidLines)
  1040.  
  1041.  
  1042.           Sets the border style to _s_t_y_l_e. By default, the border style is
  1043.           iiiillllVVVViiiieeeewwwwBBBBddddrrrrSSSSoooolllliiiiddddLLLLiiiinnnneeeessss. Other border styles include
  1044.           iiiillllVVVViiiieeeewwwwBBBBddddrrrrDDDDaaaasssshhhheeeeddddLLLLiiiinnnneeeessss, iiiillllVVVViiiieeeewwwwBBBBddddrrrrCCCCoooorrrrnnnneeeerrrrHHHHaaaannnnddddlllleeeessss and
  1045.           iiiillllVVVViiiieeeewwwwBBBBddddrrrrMMMMiiiiddddddddlllleeeeHHHHaaaannnnddddlllleeeessss.  Note that borders are drawn inside the
  1046.           view.
  1047.  
  1048.  
  1049.  
  1050.                                                                        PPPPaaaaggggeeee 11116666
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1058.  
  1059.  
  1060.  
  1061.      sssseeeettttBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh(((())))
  1062.  
  1063.           void setBorderWidth(int bordWidth)
  1064.  
  1065.  
  1066.           Sets the border width to _w_i_d_t_h pixels. Note that borders are drawn
  1067.           inside the view.
  1068.  
  1069.      sssseeeettttBBBBoooorrrrddddeeeerrrrssss(((())))
  1070.  
  1071.           void setBorders(int flag, int mode = ilDefault)
  1072.  
  1073.  
  1074.           Sets the border flag as specified by _f_l_a_g. If TRUE, borders are
  1075.           turned on, otherwise borders are turned off. Borders will be painted
  1076.           or erased unless defer mode has been set or ilDefer is passed in
  1077.           _m_o_d_e. In addition, if ilNoSwap is passed in _m_o_d_e, the front and back
  1078.           buffers will not be swapped after painting.
  1079.  
  1080.      sssseeeettttCCCCaaaallllllllbbbbaaaacccckkkk(((())))
  1081.  
  1082.           void setCallback(ilCallback* prepare, ilCallback* render,
  1083.                            ilCallback* finish = NULL)
  1084.  
  1085.  
  1086.           Sets the three post-render callbacks to the iiiillllCCCCaaaallllllllbbbbaaaacccckkkk functions
  1087.           specified by _p_r_e_p_a_r_e, _r_e_n_d_e_r and _f_i_n_i_s_h. The prepare and finish
  1088.           callbacks are called from an IL compute thread and are used to
  1089.           allocate and deallocate any needed buffers or to compute and save
  1090.           any state information.  The render callback is called by the IL
  1091.           render thread and must execute as efficiently as possible for
  1092.           maximum performance. Any graphics state changes must be restored
  1093.           before returning from the render callback. Note that the prepare and
  1094.           finish callbacks may be NULL if not required. However, the finish
  1095.           callback is required.
  1096.  
  1097.           The post-render callback(s) is called only if it has been set and
  1098.           enabled.  It may be changed or disabled as needed. The post-render
  1099.           callback is called after the view and borders have been rendered.
  1100.           This allows an application to draw graphics if desired. An
  1101.           iiiillllVVVViiiieeeewwwwCCCCbbbbAAAArrrrgggg is passed to each of the three callbacks and provides
  1102.           member functions to support graphics rendering. For example, the
  1103.           delta view size, position and image position may be queried. See
  1104.           iiiillllVVVViiiieeeewwwwCCCCaaaallllllllbbbbaaaacccckkkk for more information.
  1105.  
  1106.      sssseeeettttDDDDeeeeffffeeeerrrr(((())))
  1107.  
  1108.           void setDefer(int defer)
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.                                                                        PPPPaaaaggggeeee 11117777
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1124.  
  1125.  
  1126.  
  1127.           Sets the defer flag the as specified by _d_e_f_e_r. If TRUE, then
  1128.           painting is deferred, otherwise the view is painted after each
  1129.           display operation. If the view is deferred, changes to the view
  1130.           position, view size and image position are accumulated as delta
  1131.           values until the view can be painted.
  1132.  
  1133.      sssseeeettttDDDDiiiirrrrttttyyyy(((())))
  1134.  
  1135.           void setDirty()
  1136.  
  1137.  
  1138.           Indicates that the view needs to be repainted for some external
  1139.           reason (e.g. graphics drawn on top that need to be updated).
  1140.  
  1141.      sssseeeettttEEEErrrrrrrroooorrrrCCCCoooolllloooorrrr(((())))
  1142.  
  1143.           void setErrorColor(float red, float green, float blue)
  1144.  
  1145.  
  1146.           Sets the error color to _r_e_d, _g_r_e_e_n and _b_l_u_e. By default the error
  1147.           color is yellow.  If an error occurs while painting a view, the bad
  1148.           tile is painted with the error color.
  1149.  
  1150.      sssseeeettttIIIImmmmgggg(((())))
  1151.  
  1152.           virtual void setImg(ilImage* ilInImg, unsigned imgIdx = 0)
  1153.  
  1154.  
  1155.           Sets the input image to the iiiillllIIIImmmmaaaaggggeeee specified by _i_m_a_g_e.  Since
  1156.           ilView is derived from ilLink, it is chained onto the input image.
  1157.           Thus if a reset occurs in the image, ilView will also be reset.
  1158.  
  1159.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  1160.           (e.g., stereo) to select. Currently only two values are accepted in
  1161.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  1162.           They are ilViewImgPairLeft and ilViewImgPairRight. Since this view
  1163.           class does not support multiple images within a view, however, this
  1164.           parameter is ignored in this implementation.
  1165.  
  1166.      sssseeeettttLLLLoooocccc(((())))
  1167.  
  1168.           void setLoc(float ix, float iy, float x, float y, int mode = ilLocIn,
  1169.                       iflOrientation orientation = iflOrientation(0),
  1170.                       unsigned imgIdx = 0)
  1171.           void setLoc(float ix, float iy, int mode = ilLocIn|ilCenter,
  1172.                       iflOrientation orientation = iflOrientation(0),
  1173.                       unsigned imgIdx = 0)
  1174.  
  1175.  
  1176.           Sets the location in the image specified by _i_x and _i_y in the given
  1177.           _o_r_i_e_n_t_a_t_i_o_n to the location in the display specified by _x and _y. The
  1178.           image is moved as needed to relocate the specified point.  If
  1179.  
  1180.  
  1181.  
  1182.                                                                        PPPPaaaaggggeeee 11118888
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1190.  
  1191.  
  1192.  
  1193.           iiiillllLLLLooooccccIIIInnnn is passed in _m_o_d_e, the location is found in the input space
  1194.           of the image.  If iiiillllLLLLooooccccOOOOuuuutttt is passed in _m_o_d_e, the location is found
  1195.           in the output space of the image.  For example, if an ilRotZoomIng
  1196.           is mapped to the view and ilLocIn is specified, ix and iy will
  1197.           correspond to the location in the unrotated image. However if
  1198.           ilLocOut is specified, ix and iy will correspond to the location in
  1199.           the rotated image. The relocation can be accomplished by moving
  1200.           either the image or the view. If iiiillllLLLLooooccccVVVViiiieeeewwww is specified then the
  1201.           view is moved, alternatively if iiiillllLLLLooooccccIIIImmmmgggg is specified (default) then
  1202.           the image is moved.
  1203.  
  1204.           The second version determines the desired location based on _m_o_d_e.
  1205.           For example, if iiiillllCCCCeeeennnntttteeeerrrr is specified, the location corresponding to
  1206.           the center of the view is returned. Note that _m_o_d_e is a bit-wise
  1207.           inclusive OR of various flags defined in ilDisplayDefs.h.
  1208.  
  1209.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  1210.           (e.g., stereo) to select. Currently only two values are accepted in
  1211.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  1212.           They are ilViewImgPairLeft and ilViewImgPairRight.
  1213.  
  1214.      sssseeeettttNNNNoooopppp(((())))
  1215.  
  1216.           void setNop(int noOp)
  1217.  
  1218.  
  1219.           Sets the nnnnoooopppp flag as specified by _n_o_O_p. When the nop flag is TRUE,
  1220.           the view is only affected when it is explicitly specified in a
  1221.           display operation. The view will be unaffected by display operations
  1222.           on the view stack in ilDisplay. However, ilDop can be used to
  1223.           override the nop flag during a display operation. The nop flag is
  1224.           FALSE by default.
  1225.  
  1226.      sssseeeettttPPPPiiiixxxxeeeellll(((())))
  1227.  
  1228.           void setPixel(int x, int y, iflPixel& pix, int mode = 0,
  1229.                         unsigned imgIdx = 0)
  1230.  
  1231.  
  1232.           Sets the pixel at the location specified by _x and _y to the value
  1233.           specified by _p_i_x. If ilDspCoord is specified, the x and y are
  1234.           interpreted as display (window) coordinates. If ilScrCoord is
  1235.           specified, then they are interpreted as screen coordinates. (see
  1236.           also getPixel())
  1237.  
  1238.           The _i_m_g_I_d_x parameter controls which image of a multi-image view
  1239.           (e.g., stereo) to select. Currently only two values are accepted in
  1240.           imgIdx.  These are defined in the ilViewImgPairIdx enumerated type.
  1241.           They are ilViewImgPairLeft and ilViewImgPairRight.
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.                                                                        PPPPaaaaggggeeee 11119999
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1256.  
  1257.  
  1258.  
  1259.      sssseeeettttSSSSttttaaaattttiiiiccccUUUUppppddddaaaatttteeee(((())))
  1260.  
  1261.           void setStaticUpdate(int enable)
  1262.  
  1263.  
  1264.           Enables or disables _s_t_a_t_i_c_U_p_d_a_t_e mode as specified by _e_n_a_b_l_e.  When
  1265.           _s_t_a_t_i_c_U_p_d_a_t_e mode is enabled, it forces a static update to occur
  1266.           whenever the view is painted. Rather than painting a region as many
  1267.           small tiles, each rectangular region is painted as one large tile.
  1268.           By default, static update is disabled. See setAutoStaticUpdate() for
  1269.           more information.
  1270.  
  1271.      sssseeeettttXXXXIIIImmmmgggg(((())))
  1272.  
  1273.           void setXImg(XImage* xInImg)
  1274.  
  1275.  
  1276.           Sets the input image to the XXXXIIIImmmmaaaaggggeeee specified by _i_m_a_g_e.  Since ilView
  1277.           is derived from ilLink, it is chained onto the input image.  Thus if
  1278.           a reset occurs in the image, ilView will also be reset.
  1279.  
  1280.      sssseeeettttZZZZ(((())))
  1281.  
  1282.           void setZ(float z)
  1283.  
  1284.  
  1285.           Sets the z dimension to be displayed for the mapped image. An
  1286.           ilImage may have a z dimension greater than 1. In which case, any
  1287.           one of these xy planes can be displayed. See also ggggeeeettttZZZZ(((()))).
  1288.  
  1289.      sssshhhhoooowwwwTTTTrrrraaaannnnssssppppaaaarrrreeeennnnccccyyyy(((())))
  1290.  
  1291.           void showTransparency(int enable)
  1292.  
  1293.  
  1294.           If enable is TRUE, then the input image's transparency is used when
  1295.           rendering it to the window. Otherwise, it is ignored.
  1296.  
  1297.      sssspppplllliiiitttt(((())))
  1298.  
  1299.           void split(int mode = ilAbsSplit|ilRowSplit|ilColSplit)
  1300.  
  1301.  
  1302.           This function repositions and resizes all views in the view stack of
  1303.           ilDisplay so that all views are visible. The _m_o_d_e specifies how the
  1304.           views are arranged. Starting at the bottom of the view stack, views
  1305.           are placed starting at the upper left corner of the display.  The
  1306.           various split modes are listed below:
  1307.  
  1308.           _i_l_A_b_s_S_p_l_i_t  All images are aligned based on the align mode specified
  1309.                       (ilBottomLeft by default).
  1310.  
  1311.  
  1312.  
  1313.  
  1314.                                                                        PPPPaaaaggggeeee 22220000
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1322.  
  1323.  
  1324.  
  1325.           _i_l_R_e_l_S_p_l_i_t  All images are positioned within views based on the view
  1326.                       position.
  1327.  
  1328.           _i_l_R_o_w_S_p_l_i_t  The views are arranged in rows.
  1329.  
  1330.           _i_l_C_o_l_S_p_l_i_t  The views are arranged in columns.
  1331.  
  1332.           _i_l_P_a_c_k_S_p_l_i_t Views sizes are clipped to the size of the image and
  1333.                       packed together.
  1334.  
  1335.           Any combination of these split modes may be used. For example if
  1336.           ilRowSplit | ilColSplit is specified in _m_o_d_e, views are arranged
  1337.           into an equal number of rows and columns.
  1338.  
  1339.      uuuunnnnsssseeeelllleeeecccctttt(((())))
  1340.  
  1341.           void unselect()
  1342.  
  1343.  
  1344.           This function unselects the view by turning off borders and setting
  1345.           the nnnnoooopppp flag to TRUE. Then the nop flag is TRUE, the view is
  1346.           unaffected during multi-view operations. See also select() and
  1347.           setNop().
  1348.  
  1349.      uuuuppppddddaaaatttteeee(((())))
  1350.  
  1351.           void update(int x = 0, int y = 0, int nx = 0, int ny = 0,
  1352.                       float imgX = 0, float imgY = 0, int mode = ilDelVal)
  1353.  
  1354.  
  1355.           This function allows the view position, view size and image position
  1356.           to be adjusted. The view is moved as specified by _x and _y. The view
  1357.           size is adjusted as specified by _n_x and _n_y. The image is moved
  1358.           within the view as specified by _i_m_g_X and _i_m_g_Y. All three adjustments
  1359.           are clipped if ilClip is passed in _m_o_d_e. After all three adjustments
  1360.           are made the view is painted, unless ilDefer is passed in _m_o_d_e.
  1361.  
  1362.           If ilDelVal is passed in _m_o_d_e, all parameters specify the change
  1363.           (delta) in position and size. If ilAbsVal is specified, all
  1364.           parameters specify the absolute position or size. If ilRelVal is
  1365.           passed in _m_o_d_e, then all parameters are interpreted relative to a
  1366.           starting xy coordinate maintained within ilDisplay. ilRelVal is not
  1367.           recommended for use with this operator. See
  1368.  
  1369.      wwwwiiiippppeeee(((())))
  1370.  
  1371.           void wipe(int x, int y, int mode = ilRelVal)
  1372.  
  1373.  
  1374.           This function moves one or more edges on the view. The edge or edges
  1375.           to move are specified in _m_o_d_e. For example, if ilRightEdge is passed
  1376.           in mode, the right edge of the view is moves as specified by _x and
  1377.  
  1378.  
  1379.  
  1380.                                                                        PPPPaaaaggggeeee 22221111
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1388.  
  1389.  
  1390.  
  1391.           _y. In addition, if ilTopEdge | ilRightEdge (or ilTopRight) is
  1392.           specified, then the upper right corner is moved. Note that the value
  1393.           returned by ffffiiiinnnnddddEEEEddddggggeeee(((()))) can be used directly.
  1394.  
  1395.           In general, a wipe operation resizes the view. However, if ilAllEdge
  1396.           is passed in mode, then all edges of the view are moved and the view
  1397.           size is unchanged.  This operation is referred to as an _i_n_s_e_t - the
  1398.           image is stationary and the view moves. This is the opposite of
  1399.           moving the image within the view. When comparing images, wiping is
  1400.           very useful.
  1401.  
  1402.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  1403.           the image position. If ilAbsVal is specified, x and y specify the
  1404.           new position of the image. If ilRelVal is passed in _m_o_d_e, then x and
  1405.           y are interpreted relative to a starting xy coordinate maintained
  1406.           within ilDisplay, which can be set using the ilDisplay's sssseeeettttSSSSttttaaaarrrrtttt(((())))
  1407.           function.
  1408.  
  1409.           If ilClip is passed in _m_o_d_e, the the edge is not allowed to move
  1410.           beyond the edge of the image. However, by default the edge can be
  1411.           moved beyond the edge of the image exposing the image's fill value.
  1412.           If ilDefer is passed in _m_o_d_e, then the view is not painted after the
  1413.           operation.
  1414.  
  1415.      wwwwiiiippppeeeeSSSSiiiizzzzeeee(((())))
  1416.  
  1417.           void wipeSize(int x, int y, int mode = ilDelVal | ilTopRight)
  1418.  
  1419.  
  1420.           This function moves an edge or corner and the opposite edge or
  1421.           corner.  The edge or corner passed in _m_o_d_e is moved as specified by
  1422.           _x and _y. In addition, the opposite edge or corner is moved in the
  1423.           opposite direction. This causes the view to grow or shrink by moving
  1424.           opposite edges or corners. For example, if the right edge is moved
  1425.           right by 10 pixels, the left edge is also moved left by 10 pixels.
  1426.           Note that the value returned by ffffiiiinnnnddddEEEEddddggggeeee(((()))) can be used directly.
  1427.  
  1428.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  1429.           the image position. If ilAbsVal is specified, x and y specify the
  1430.           new position of the image. If ilRelVal is passed in _m_o_d_e, then x and
  1431.           y are interpreted relative to a starting xy coordinate maintained
  1432.           within ilDisplay.
  1433.  
  1434.      wwwwiiiippppeeeeSSSSpppplllliiiitttt(((())))
  1435.  
  1436.           void wipeSplit(int x, int y, int mode = ilRelVal)
  1437.  
  1438.  
  1439.           This function moves the edge on all views, found by calling
  1440.           ffffiiiinnnnddddEEEEddddggggeeee(((()))) on ilDisplay. All of these edges are moved as specified
  1441.           by _x and _y.  For example, if two views are displayed side by side,
  1442.           the right edge of the left view and the left edge of the right view
  1443.  
  1444.  
  1445.  
  1446.                                                                        PPPPaaaaggggeeee 22222222
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. iiiillllVVVViiiieeeewwww((((3333))))          IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll          iiiillllVVVViiiieeeewwww((((3333))))
  1454.  
  1455.  
  1456.  
  1457.           may be moved simultaneously. This is useful after a split operation.
  1458.  
  1459.           If ilDelVal is passed in _m_o_d_e, x and y specify the change (delta) in
  1460.           the image position. If ilAbsVal is specified, x and y specify the
  1461.           new position of the image. If ilRelVal is passed in _m_o_d_e, then x and
  1462.           y are interpreted relative to a starting xy coordinate maintained
  1463.           within ilDisplay.
  1464.  
  1465. IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
  1466.    IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllLLLLiiiinnnnkkkk
  1467.      addResetCallback(), alterAction(), anyAltered(), clearAllowed(),
  1468.      clearSet(), clearStatus(), deleteRelated(), disableAltered(),
  1469.      dumpChain(), getClassPropSet(), getDescription(), getDirectParent(),
  1470.      getDisabledIndex(), getFloatProp(), getGenerationID(), getIntProp(),
  1471.      getMaxIndex(), getMinIndex(), getNumChildren(), getNumParents(),
  1472.      getParent(), getProp(), getProp(), getPropSet(), getPtrProp(),
  1473.      getRelatedChild(), getRelatedDelete(), getRelatedType(), getStatus(),
  1474.      hasResetCallbacks(), ilGetClassPropSet(), inProgress(), isAllowed(),
  1475.      isAltered(), isEnabled(), isRelated(), isSet(), markSet(), mpUnlock(),
  1476.      neverReset(), newRelatedType(), removeParent(), removeProp(),
  1477.      removeResetCallback(), reset(), resetAltered(), resetCheck(),
  1478.      setAllowed(), setAltered(), setDescription(), setDisabledIndex(),
  1479.      setEnabled(), setParent(), setProp(), setPropAltered(),
  1480.      setRelatedDelete(), setRelatedType(), setStatus(), stopWatching(),
  1481.      unalterable(), watch(), watchNotify()
  1482.  
  1483.  
  1484. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  1485.      ilDisplay, ilViewCallback, ilStereoView, <il/ilDisplayDefs.h>
  1486.  
  1487.  
  1488. NNNNOOOOTTTTEEEESSSS
  1489.      Many display operators take a _m_o_d_e parameter which is a bit-wise
  1490.      inclusive OR of various flags defined in <il/ilDisplayDefs.h>. These
  1491.      flags are interpreted based on which operator is called. For example,
  1492.      iiiillllCCCCeeeennnntttteeeerrrr can be used to align a view or can be used to locate the center
  1493.      of a view.
  1494.  
  1495.      If there is no image mapped to an ilView, the view is painted with the
  1496.      background color. The background color defaults to black.
  1497.  
  1498.      If an error occurs during rendering, the bad tile is painted with the
  1499.      error color.  The error color defaults to magenta.
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.                                                                        PPPPaaaaggggeeee 22223333
  1513.  
  1514.  
  1515.  
  1516.